package com.xbongbong.pro.app.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author 吴峰
 * @date 2019/1/14 10:41
 * @desrcption 应用开启/关闭
 */
@Getter
@Setter
@ToString
public class AppEnableDTO extends BaseDTO {
    private static final long serialVersionUID = -3146056721568105314L;

    @NotNull(message = "{dto.msg.appEnable.appId.NotNull}")
    private Long appId;

    @NotNull(message = "{dto.msg.appEnable.enable.NotNull}")
    private Integer enable;
}
